/**
 * @type {Number}
 *
 * @properties={typeid:35,uuid:"2E702640-BDFB-42E0-9481-0E2404521608",variableType:8}
 */
var fTotal = null;


/**
 * @param {JSEvent} [event] the event that triggered the action
 *
 * @returns {Boolean}
 *
 * @properties={typeid:24,uuid:"270E4D9E-2C1E-4E56-9330-789ECD9030B5"}
 */
function calcularTotal(event) {
	fTotal = 0
	for (var i = 1 ; i <= foundset.getSize() ; i++)
	{
		var $rcd = foundset.getRecord(i)
		fTotal += $rcd.importe
	}
	return true
}
